package com.xcm.service;

import com.xcm.model.TbDeviceUpgrade;

/**
 * 终端升级Service
 */
public interface DeviceUpgradeService {
	/**
	 * 通过对应机型获取终端升级
	 * getDeviceUpgradeByModel
	 *
	 * @param model 对应机型
	 * @return TbDeviceUpgrade
	 */
	TbDeviceUpgrade getDeviceUpgradeByModel(String model);


	/**
	 * 通过mac取终端升级
	 * getDeviceUpgradeByMac
	 *
	 * @param mac mac地址
	 * @return TbDeviceUpgrade
	 */
	TbDeviceUpgrade getDeviceUpgradeByMac(String mac);
	
	/**
	 * 通过id获取终端升级信息
	 * getDeviceUpgradeById
	 *
	 * @param id 
	 */
	TbDeviceUpgrade getDeviceUpgradeById(Long id);
}
